package com.dzsw.mybatisx.gen.util;

import org.apache.commons.collections4.MapUtils;

import java.util.HashMap;

public class GenConf extends HashMap<String, Object> {

    public String getOutputPath() {
        return MapUtils.getString(this, "outputPath");
    }

    public String getAuthor() {
        return MapUtils.getString(this, "author");
    }

    public String getModuleName() {
        return MapUtils.getString(this, "moduleName");
    }

    public String getPkgParent() {
        return MapUtils.getString(this, "pkgParent");
    }

    public String getSuperMapperClass() {
        return MapUtils.getString(this, "superMapperClass");
    }

    public String getUrl() {
        return MapUtils.getString(this, "url");
    }

    public String getDriverName() {
        return MapUtils.getString(this, "driverName");
    }

    public String getUsername() {
        return MapUtils.getString(this, "username");
    }

    public String getPwd() {
        return MapUtils.getString(this, "pwd");
    }

    public String getControllerName() {
        return MapUtils.getString(this, "controllerName");
    }

    public String getServiceName() {
        return MapUtils.getString(this, "serviceName");
    }

    public String getMapperName() {
        return MapUtils.getString(this, "mapperName");
    }

    public String getXmlName() {
        return MapUtils.getString(this, "xmlName");
    }

    public String getServiceImplName() {
        return MapUtils.getString(this, "serviceImplName");
    }

    public String getSchemeName() {
        return MapUtils.getString(this, "schemeName");
    }
}
